package com.hckjsec.law.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公共法律服务咨询对象 web_law_consulling
 * 
 * @author cyt
 * @date 2021-11-08
 */
public class WebLawConsulling extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 所属小程序 */
    @Excel(name = "所属小程序")
    private Long configId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private Long companyId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** openid */
    @Excel(name = "openid")
    private String openid;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String typeNumber;

    /** 问题类型2 */
    @Excel(name = "问题类型2")
    private String typeNumberTwo;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String typeName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 是否匿名 */
    @Excel(name = "是否匿名")
    private String anonymous;

    /** 指定用户 */
    @Excel(name = "指定用户")
    private Long personnelId;

    /** 指定用户系统编号 */
    @Excel(name = "指定用户系统编号")
    private Long userId;

    /** 评价 */
    @Excel(name = "评价")
    private BigDecimal evaluate;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date evaluateTime;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 回复人 */
    @Excel(name = "回复人")
    private Long replyUser;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date replyTime;

    /** 结束人 */
    @Excel(name = "结束人")
    private Long closeUser;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date closeTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setConfigId(Long configId)
    {
        this.configId = configId;
    }

    public Long getConfigId()
    {
        return configId;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setOpenid(String openid)
    {
        this.openid = openid;
    }

    public String getOpenid()
    {
        return openid;
    }
    public void setApplyTime(Date applyTime)
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime()
    {
        return applyTime;
    }
    public void setTypeNumber(String typeNumber)
    {
        this.typeNumber = typeNumber;
    }

    public String getTypeNumber()
    {
        return typeNumber;
    }
    public void setTypeNumberTwo(String typeNumberTwo)
    {
        this.typeNumberTwo = typeNumberTwo;
    }

    public String getTypeNumberTwo()
    {
        return typeNumberTwo;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setAnonymous(String anonymous)
    {
        this.anonymous = anonymous;
    }

    public String getAnonymous()
    {
        return anonymous;
    }
    public void setPersonnelId(Long personnelId)
    {
        this.personnelId = personnelId;
    }

    public Long getPersonnelId()
    {
        return personnelId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setEvaluate(BigDecimal evaluate)
    {
        this.evaluate = evaluate;
    }

    public BigDecimal getEvaluate()
    {
        return evaluate;
    }
    public void setEvaluateTime(Date evaluateTime)
    {
        this.evaluateTime = evaluateTime;
    }

    public Date getEvaluateTime()
    {
        return evaluateTime;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setReplyUser(Long replyUser)
    {
        this.replyUser = replyUser;
    }

    public Long getReplyUser()
    {
        return replyUser;
    }
    public void setReplyTime(Date replyTime)
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime()
    {
        return replyTime;
    }
    public void setCloseUser(Long closeUser)
    {
        this.closeUser = closeUser;
    }

    public Long getCloseUser()
    {
        return closeUser;
    }
    public void setCloseTime(Date closeTime)
    {
        this.closeTime = closeTime;
    }

    public Date getCloseTime()
    {
        return closeTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("configId", getConfigId())
                .append("companyId", getCompanyId())
                .append("deptId", getDeptId())
                .append("openid", getOpenid())
                .append("applyTime", getApplyTime())
                .append("typeNumber", getTypeNumber())
                .append("typeNumberTwo", getTypeNumberTwo())
                .append("typeName", getTypeName())
                .append("name", getName())
                .append("phone", getPhone())
                .append("title", getTitle())
                .append("content", getContent())
                .append("anonymous", getAnonymous())
                .append("personnelId", getPersonnelId())
                .append("userId", getUserId())
                .append("evaluate", getEvaluate())
                .append("evaluateTime", getEvaluateTime())
                .append("state", getState())
                .append("replyUser", getReplyUser())
                .append("replyTime", getReplyTime())
                .append("closeUser", getCloseUser())
                .append("closeTime", getCloseTime())
                .toString();
    }
}
